package com.fowo.api.flow.model.vo;

import com.fowo.api.user.model.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @fileName: HistoryProcessInstanceVO
 * @Description: 代码目的，作用，如何工作
 * @Author: pzh
 * @Date: 2023/3/27 0027 10:42
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class HistoryProcessInstanceVO {
    @Schema(title="流程实例id")
    private String processInstanceId;
    @Schema(title="审批类型")
    private String processDefinitionName;
    @Schema(title="发起人")
    private CurrentUser startUser;
    @Schema(title="提交时间")
    private Date startTime;
    @Schema(title="结束时间")
    private Date endTime;
    @Schema(title="当前节点")
    private String currentActivityName;
    @Schema(title="审批状态")
    private String businessStatus;
    @Schema(title="耗时")
    private String duration;
}
